package modelLayer;

import modelLayer.TeachingBlock;
import modelLayer.Class;

public class Schedule {
	
	private int ID;
	private int BlockNo;
	private TeachingBlock teachingBlock;
	private Class cl;
	
	public Schedule(int iD, int blockNo, TeachingBlock teachingBlock, Class cl) {
		super();
		ID = iD;
		BlockNo = blockNo;
		this.teachingBlock = teachingBlock;
		this.cl = cl;
	}

	public Schedule () {
		
	}
	
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public int getBlockNo() {
		return BlockNo;
	}
	public void setBlockNo(int blockNo) {
		BlockNo = blockNo;
	}
	public TeachingBlock getTeachingBlock() {
		return teachingBlock;
	}
	public void setTeachingBlock(TeachingBlock teachingBlock) {
		this.teachingBlock = teachingBlock;
	}
	public Class getCl() {
		return cl;
	}
	public void setCl(Class cl) {
		this.cl = cl;
	}

	@Override
	public String toString() {
		return "Schedule [ID=" + ID + ", BlockNo=" + BlockNo
				+ ", teachingBlock=" + teachingBlock + ", cl=" + cl + "]";
	}

}
